#include "Core/SafeLock.h"

BEGIN_GLSX_NAMESPACE

Glsx::SafeLock::SafeLock( CRITICAL_SECTION& cs ) : m_cs(cs) { ::EnterCriticalSection(&m_cs); }
SafeLock::~SafeLock() { ::LeaveCriticalSection(&m_cs); }

END_GLSX_NAMESPACE

